]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Restrict callers
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 16 Jun 2021 20:11:50 +0000 (22:11 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 3 Sep 2021 21:34:58 +0000 (21:34 +0000)
commitdd2cd6286cd3175e1518038a173218671adc68ea
treec8d0808c3c364acba833a5bc2d2d11a9c735fd4f
parenta628bbc485e11346d633879b3f734c55abcdf414
screenshot: Restrict callers

The shell D-Bus API was always meant as a private API for core
components, so enforce that by limiting caller to a list of
allowed well-known names.

Applications that want to request a screenshot can use the corresponding
desktop portal.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3943

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970>
js/ui/screenshot.js